package cn.itsource.mapper;

import cn.itsource.domain.ArticleType;
import cn.itsource.query.ArticleTypeQuery;
import cn.itsource.util.R;
import cn.itsource.vo.ArticleCategory;


import java.util.List;

public interface ArticleTypeMapper {

    void add(ArticleType articleType);

    void update(ArticleType articleType);

    void del(Long id);

    void delList(List ids);

    ArticleType get(Long id);

    List<ArticleType> getAll();

    List<ArticleType> pageQuery(ArticleTypeQuery query);

    List<ArticleCategory> articleCategory();

    List<ArticleCategory> pigeonholeCount();
}
